/******************************************************************************
 * Product: Adempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved.                *
 * This program is free software, you can redistribute it and/or modify it    *
 * under the terms version 2 of the GNU General Public License as published   *
 * by the Free Software Foundation. This program is distributed in the hope   *
 * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.           *
 * See the GNU General Public License for more details.                       *
 * You should have received a copy of the GNU General Public License along    *
 * with this program, if not, write to the Free Software Foundation, Inc.,    *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     *
 * For the text or an alternative of this public license, you may reach us    *
 * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA        *
 * or via info@compiere.org or http://www.compiere.org/license.html           *
 *****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;

import java.sql.ResultSet;
import java.util.Properties;

/** Generated Model for BCS_FRInputFormColumn
 *  @author Adempiere (generated) 
 *  @version Release 3.7.0LTS - $Id$ */
public class X_BCS_FRInputFormColumn extends PO implements I_BCS_FRInputFormColumn, I_Persistent 
{

	/**
	 *
	 */
	private static final long serialVersionUID = 20130813L;

    /** Standard Constructor */
    public X_BCS_FRInputFormColumn (Properties ctx, int BCS_FRInputFormColumn_ID, String trxName)
    {
      super (ctx, BCS_FRInputFormColumn_ID, trxName);
      /** if (BCS_FRInputFormColumn_ID == 0)
        {
			setBCS_FRColumnsDict_ID (0);
			setBCS_FRInputFormColumn_ID (0);
			setBCS_FRInputFormLine_ID (0);
        } */
    }

    /** Load Constructor */
    public X_BCS_FRInputFormColumn (Properties ctx, ResultSet rs, String trxName)
    {
      super (ctx, rs, trxName);
    }

    /** AccessLevel
      * @return 3 - Client - Org 
      */
    protected int get_AccessLevel()
    {
      return accessLevel.intValue();
    }

    /** Load Meta Data */
    protected POInfo initPO (Properties ctx)
    {
      POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
      return poi;
    }

    public String toString()
    {
      StringBuffer sb = new StringBuffer ("X_BCS_FRInputFormColumn[")
        .append(get_ID()).append("]");
      return sb.toString();
    }

	public I_BCS_FRColumnsDict getBCS_FRColumnsDict() throws RuntimeException
    {
		return (I_BCS_FRColumnsDict)MTable.get(getCtx(), I_BCS_FRColumnsDict.Table_Name)
			.getPO(getBCS_FRColumnsDict_ID(), get_TrxName());	}

	/** Set BCS_FRColumnsDict_ID.
		@param BCS_FRColumnsDict_ID BCS_FRColumnsDict_ID	  */
	public void setBCS_FRColumnsDict_ID (int BCS_FRColumnsDict_ID)
	{
		if (BCS_FRColumnsDict_ID < 1) 
			set_Value (COLUMNNAME_BCS_FRColumnsDict_ID, null);
		else 
			set_Value (COLUMNNAME_BCS_FRColumnsDict_ID, Integer.valueOf(BCS_FRColumnsDict_ID));
	}

	/** Get BCS_FRColumnsDict_ID.
		@return BCS_FRColumnsDict_ID	  */
	public int getBCS_FRColumnsDict_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_FRColumnsDict_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_FRInputFormColumn ID.
		@param BCS_FRInputFormColumn_ID BCS_FRInputFormColumn ID	  */
	public void setBCS_FRInputFormColumn_ID (int BCS_FRInputFormColumn_ID)
	{
		if (BCS_FRInputFormColumn_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_FRInputFormColumn_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_FRInputFormColumn_ID, Integer.valueOf(BCS_FRInputFormColumn_ID));
	}

	/** Get BCS_FRInputFormColumn ID.
		@return BCS_FRInputFormColumn ID	  */
	public int getBCS_FRInputFormColumn_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_FRInputFormColumn_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_FRInputFormLine ID.
		@param BCS_FRInputFormLine_ID BCS_FRInputFormLine ID	  */
	public void setBCS_FRInputFormLine_ID (int BCS_FRInputFormLine_ID)
	{
		if (BCS_FRInputFormLine_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_FRInputFormLine_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_FRInputFormLine_ID, Integer.valueOf(BCS_FRInputFormLine_ID));
	}

	/** Get BCS_FRInputFormLine ID.
		@return BCS_FRInputFormLine ID	  */
	public int getBCS_FRInputFormLine_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_FRInputFormLine_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Business Partner .
		@param C_BPartner_ID 
		Identifies a Business Partner
	  */
	public void setC_BPartner_ID (int C_BPartner_ID)
	{
		if (C_BPartner_ID < 1) 
			set_Value (COLUMNNAME_C_BPartner_ID, null);
		else 
			set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
	}

	/** Get Business Partner .
		@return Identifies a Business Partner
	  */
	public int getC_BPartner_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Sequence.
		@param SeqNo 
		Method of ordering records; lowest number comes first
	  */
	public void setSeqNo (int SeqNo)
	{
		set_Value (COLUMNNAME_SeqNo, Integer.valueOf(SeqNo));
	}

	/** Get Sequence.
		@return Method of ordering records; lowest number comes first
	  */
	public int getSeqNo () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_SeqNo);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Value1.
		@param Value1 Value1	  */
	public void setValue1 (String Value1)
	{
		set_Value (COLUMNNAME_Value1, Value1);
	}

	/** Get Value1.
		@return Value1	  */
	public String getValue1 () 
	{
		return (String)get_Value(COLUMNNAME_Value1);
	}
}